package com.leiduoduo.oms.dao;

import com.leiduoduo.oms.pojo.Dinner;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DinnerDao {
    boolean addDinner(Dinner dinner);
    boolean delDinner(Dinner dinner);
    boolean upDinner(Dinner dinner);
    Dinner getDinnerByCode(String id);
    List<Dinner> getDinnerList();
}
